package cn.gson.springboot.model.mapper;

import cn.gson.springboot.model.pojos.Collectionrecord;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component("collectionRecordMapper")
public interface CollectionRecordMapper {
    /*public List<Collectionrecord> selectEmpCollectionRecord(Integer deptId);*/

    public List<Collectionrecord> selectEmpCollectionRecordByPays(Integer deptId,Integer collectionrecordPaystyle);

    public List<Collectionrecord> selectEmpCollectionRecordBySort(Integer deptId,Integer collectionrecordSort);

    public List<Collectionrecord> selectEmpCollectionRecordByInvoiced(Integer deptId,Integer collectionrecordInvoiced);

    public List<Collectionrecord> selectEmpCollectionRecordByDate(Integer deptId,String collectionrecordDate);

    public List<Collectionrecord> selectEmpCollectionRecordByCusName(Integer deptId,String customerName);

    public List<Collectionrecord> selectCollectionRecordsByConId(Integer conId);

    public List<Collectionrecord> selectEmpCollectionRecord(int deptId, int empId, Integer value, Integer num, Integer vague, String content);
}
